class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users,:id => false do |t|
      t.string "email", :limit => 30
      t.string "password", :limit => 20
      t.string "name", :limit => 30
      t.string "phone", :limit => 15
      t.string "address", :limit => 50
      t.column :admin, :boolean, :default => false
      t.timestamps
    end
  end
end
